gl renderer: Repat node child bounds can't be NULL
authorTimm Bäder <mail@baedert.org>
Fri, 24 Jul 2020 18:01:37 +0000 (20:01 +0200)
committerTimm Bäder <mail@baedert.org>
Tue, 28 Jul 2020 03:34:12 +0000 (05:34 +0200)
gsk/gl/gskglrenderer.c

index c4efc4c8cf576d77eea3b37e3a6c2de38888b7b6..7346912eefcc95c65328289d7faf260f1225ba0b 100644 (file)
@@ -2443,8 +2443,7 @@ render_repeat_node (GskGLRenderer   *self,
   if (node_is_invisible (child))
     return;
 
-  if (child_bounds != NULL &&
-      !graphene_rect_equal (child_bounds, &child->bounds))
+  if (!graphene_rect_equal (child_bounds, &child->bounds))
     {
       /* TODO: Implement these repeat nodes. */
       render_fallback_node (self, node, builder);